package com.lh.api.vo;

import com.lh.common.enums.UpperLowerShelfStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @description: 购物车商品详情
 * @author: gze
 * @create: 2020-05-18 14:39
 **/
@Data
@ApiModel("购物车商品详情")
public class ShopCartVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品的id值")
    private Long sid;

    @ApiModelProperty(value = "商品图片")
    private String shopImg;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;

    @ApiModelProperty(value = "首件运费,如为0界面运费处显示free")
    private BigDecimal firstFreight;

    @ApiModelProperty(value = "次件运费")
    private BigDecimal noFirstFreight;

    private String property;

    @ApiModelProperty(value = "商品规格")
    private List<PropertyVo> propertyList;

    @ApiModelProperty(value = "商品状态  UPPERSHELF:上架（未失效） LOWERSHELF:下架（已失效）")
    private UpperLowerShelfStatus status;
}
